package com.spring.demo5.eg5;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Conditional;
import org.springframework.context.annotation.Configuration;

/**
 * @author vhans
 */
@Configuration
@Conditional(MyConfigurationCondition.class)
public class BeanConfig2_1 {
    @Bean
    public String name() {
        return "指定阶段后的效果";
    }
}
